package com.lancer.cloud.user;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * 用户服务启动类
 *
 * @author caijinbang
 * @date 2019-06-17 12:53
 */
@EnableFeignClients
@SpringBootApplication
@EnableDiscoveryClient
@EnableAspectJAutoProxy
@ComponentScan(basePackages = {"com.lancer.cloud.common","com.lancer.cloud.user"})
public class LancerUserServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(LancerUserServiceApplication.class, args);
    }
}
